package com.fearless.crm.workbench.service;

import com.fearless.crm.settings.entity.User;
import com.fearless.crm.vo.PaginationVo;
import com.fearless.crm.workbench.entity.Activity;
import com.fearless.crm.workbench.entity.ActivityRemark;

import java.util.List;
import java.util.Map;

public interface ActivityService {

    List<User> getUserListService();

    Map saveActivityService(Activity activity);

    PaginationVo<Activity> pageListService(Map map);

    boolean deleteService(String ids[]);

    Map getUserListAndActivity(String id);

    boolean updateService(Activity activity);

    Activity detailService(String id);

    List<ActivityRemark> getRemarkListByAid(String Aid);

    boolean deleteRemarkByIdService(String id);

    boolean addRemarkService(ActivityRemark activityRemark);

    Map<String,Object> editRemarkService(String id);

    boolean updateRemarkService(ActivityRemark activityRemark);

    Map<String,Object> getUserListAndActivityInDetailService(String id);

    List<Activity> getActivityByNameAndNotConnectClueService(Map map);

    List<Activity> queryActivityByNameService(String name);

}
